package com.cn.xcsharp.util;

public class CommonResultFy {

    private Integer state;
    private String msg;
    private Object data;
    private long count;

    public CommonResultFy() {
        this.state=200;
        this.count=0;
        this.msg="成功";
    }

    public CommonResultFy(Integer state, String msg,long count) {
        this.state = state;
        this.count=count;
        this.msg = msg;
    }

    public CommonResultFy(Integer state, String msg, Object data,long count) {
        this.state = state;
        this.msg = msg;
        this.data = data;
        this.count=count;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }
}
